home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
include
/
ewl
/
ewl_cell.h
< prev
next >
Wrap
C/C++ Source or Header
|
2006-01-09
|
1KB
|
52 lines
#ifndef _EWL_CELL_H
#define _EWL_CELL_H
/**
* @file ewl_cell.h
* @defgroup Ewl_Cell Cell: The Cell Container, Layout for a Single Widget
* Defines a container to layout a single child with all of it's available
* space.
*
* @{
*/
/**
* @themekey /cell/file
* @themekey /cell/group
*/
typedef struct Ewl_Cell Ewl_Cell;
/**
* @def EWL_CELL(t)
* Typecast a pointer to an Ewl_Cell pointer.
*/
#define EWL_CELL(t) ((Ewl_Cell *)t)
/**
* @struct Ewl_Cell
* The cell inherits from the container for packing widgets inside the
* cell.
*/
struct Ewl_Cell
{
Ewl_Container container; /**< Inherit from the Ewl_Container */
};
Ewl_Widget *ewl_cell_new(void);
int ewl_cell_init(Ewl_Cell *cell);
/*
* Internally used callbacks, override at your own risk.
*/
void ewl_cell_configure_cb(Ewl_Widget * w, void *ev_data, void *user_data);
void ewl_cell_child_show_cb(Ewl_Container *c, Ewl_Widget *w);
void ewl_cell_child_resize_cb(Ewl_Container *c, Ewl_Widget *w, int size,
Ewl_Orientation o);
/**
* @}
*/
#endif